<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>שאלות ראשוניות</title>
<link rel="stylesheet" href="style/primaryCSS.css"/>
<link rel="stylesheet" href="style/radiobuttons.css"/>
<link rel="stylesheet" href="style/input.css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="jquery.address-1.5.min.js"></script>
<script type="text/javascript" src="javascript/JavaScript1.js"></script>

</head>

<?php 
    $userID = $_POST["users_idNum"];
    $ses_id = session_id();
    if(empty($ses_id)) {
        session_start();
        $ses_id = session_id();
        }
	include("database/updateDB.php");	
    create_complaint();
?>

<body>

<div id="main_div">

    <!-- Titles -->
	<div id="tabs_wrap">		
    <ul class="nav">
                <li class="nav-zero"><a name="#landing_page" class="current">ברוכים הבאים</a></li>
                <li class="nav-five hide"><a name="#doctor">שלום ד"ר קוניקוף</a></li>
                <li class="nav-one hide"><a name="#personal_details">פרטים אישיים</a></li>
                <li class="nav-two hide"><a name="#habits1">הרגלים - אלכוהול</a></li>
                <li class="nav-three hide"><a name="#habits2">הרגלים - עישון</a></li>
                <li class="nav-four hide"><a name="#Background">מחלות רקע</a></li>
                <li class="nav-five hide"><a name="#Mom_Background">רקע רפואי - אמא</a></li>
                <li class="nav-six hide"><a name="#Dad_Background">רקע רפואי - אבא</a></li>
                <li class="nav-seven hide"><a name="#Sib_Background">רקע רפואי - אחים</a></li>
                <li class="nav-eight hide"><a name="#Allergies_sensitivities">רגישויות</a></li>
                <li class="nav-nine hide"><a name="#Primary_complaint">תלונה עיקרית</a></li>
                <li class="nav-eleven hide"><a name="#additions">תסמינים נוספים</a></li>
                <li class="nav-twelve hide"><a name="#please_wait">מגיש טופס</a></li>
    </ul>
    </div> <!-- End tabs_wrap -->
    
   <!-- Sections -->
    <div class="list-wrap">
	
    <form id="Primary_details" enctype="multipart/form-data" action="" method="post">
    
        <div id="landing_page">
        
        	<?php 
        		include("includes/sections/Landing.html");
        	?>
        
        </div> <!-- End Landing page -->   
    
        <div id="doctor" class="hide">
        <?php 
            include("includes/sections/Doctor.php");
        ?>
        </div> <!-- End only Id -->
        
        <div id="personal_details" class="hide">
        
        	<?php include("includes/sections/details.html"); ?>
            
        </div> <!-- End personal details -->

         
		 <div id="habits1" class="hide">
         
            <?php include("includes/sections/habits1.html"); ?>            
            
         </div> <!-- End Habits 1 -->
         
		 <div id="habits2" class="hide">
            
             <?php include("includes/sections/habits2.html"); ?>            
		 
         </div> <!-- End Habits 2 -->
		 
         
		 <div id="Background" class="hide"> <!-- Background -->
         	
             <?php include("includes/sections/background.php"); ?>
		 
         </div> <!-- End Background -->

		 
         <div id="Mom_Background" class="hide"> <!-- Mom Background -->
         
            <?php include("includes/sections/mother.php"); ?>
		    
         </div> <!-- End Mom background -->
		 
         
         <div id="Dad_Background" class="hide"> <!-- Dad Background -->
         
            <?php include("includes/sections/father.php"); ?>
            
         </div> <!-- End Dad Background -->
		 
         
         <div id="Sib_Background" class="hide">
         
            <?php include("includes/sections/siblings.php"); ?>
            
         </div> <!-- End Sib background -->
         
		 
         <div id="Allergies_sensitivities" class="hide">

            <?php include("includes/sections/allergies.html"); ?>   
            
         </div> <!-- End Allergies and sensitivities-->
        
         
         <div id="Primary_complaint" class="hide">
            
            <h3 style="direction: rtl">
                סמנו את התלונה העיקרית בגינה הגעתם למרפאה</h3>
            
            <?php include("includes/sections/mainComplaint.html"); ?>    
            
            <ul class="nav">
                <li><a id="final" href="#" name = "back" hidden="false">אחורה</a></li>
            </ul>
            
         </div> <!-- End Primary complaint -->
         
         <div id="please_wait" class="hide">
            <h2>אנא המתן</h2>
         </div>
         
         <p id="disclaimer" hidden>
            <strong>כל פרט נוסף ו/או הבהרות לגבי פרטים קיימים יש לציין בפני הרופא</strong>
         </p>
         
        <ul class="nav" id="debug_button">
            <li><a href="#Primary_complaint" id="skip" hidden="false">דלג</a>לצורכי דיבוג</li>
        </ul>
    </form>
		 
    </div> <!-- END List Wrap -->
 </div> <!-- END Organic Tabs (Main_div) -->
</body>
</html>